const type = {
    TW: 1,
    AW: 2,
    OW: 3,
    TWB: 4,
    NIL: 5
};

const typeEnum = {
    [type.TW]: {
        value: type.TW,
        text: 'a(TW)'
    },
    [type.AW]: {
        value: type.AW,
        text: 'a(AW)'
    },
    [type.OW]: {
        value: type.OW,
        text: 'a(OW)'
    },
    [type.TWB]: {
        value: type.TWB,
        text: 'a(TW-$b)'
    },
    [type.NIL]: {
        value: type.NIL,
        text: 'Nil'
    }
};

export { typeEnum as default, type as cpfFormulaType };
